package com.tddx.activiti.business.sys.entity.systrole;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Where;

import com.tddx.activiti.base.BaseEntity;

@Entity
@Table(name="SYS_T_ROLE")
@Where(clause="VC_DEL='0'")
public class SysTroleEntity extends BaseEntity{
	
	private static final long serialVersionUID = 1L;

	@Column(name="VC_NAME", length=50)
	private String vcName;
	
	@Column(name="VC_ENNAME", length=50)
	private String vcEnname;
	
	@Column(name="N_DATA$SCOPE", length=2)
	private Integer nDataScope = 0;
	
	@Column(name="N_ORDER", length=4)
	private Integer nOrder = 1;

	public String getVcName() {
		return vcName;
	}

	public void setVcName(String vcName) {
		this.vcName = vcName;
	}

	public String getVcEnname() {
		return vcEnname;
	}

	public void setVcEnname(String vcEnname) {
		this.vcEnname = vcEnname;
	}

	public Integer getnDataScope() {
		return nDataScope;
	}

	public void setnDataScope(Integer nDataScope) {
		this.nDataScope = nDataScope;
	}

	public Integer getnOrder() {
		return nOrder;
	}

	public void setnOrder(Integer nOrder) {
		this.nOrder = nOrder;
	}

}
